package com.example.hospitalsystem.pojo.dto.comment;

import com.example.hospitalsystem.pojo.entity.Comments;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class CommentsDto {

    private int commentId;
    private int designId;
    private int userId;
    private String username;
    private String commentText;
    private LocalDateTime commentTime;
    private int parentCommentId;
    private String image;

    private List<CommentsDto> children;
}
